import request from '@/utils/request'

// 查询水质分析报列表
export function listDispatchWaterQualityAnalysis(query) {
  return request({
    url: '/dispatch/analyze/dispatchWaterQualityAnalysis/list',
    method: 'get',
    params: query
  })
}

// 查询水质分析报详细
export function getDispatchWaterQualityAnalysis(waterQualityAnalysisId) {
  return request({
    url: '/dispatch/analyze/dispatchWaterQualityAnalysis/' + waterQualityAnalysisId,
    method: 'get'
  })
}

// 新增水质分析报
export function addDispatchWaterQualityAnalysis(data) {
  return request({
    url: '/dispatch/analyze/dispatchWaterQualityAnalysis',
    method: 'post',
    data: data
  })
}

// 修改水质分析报
export function updateDispatchWaterQualityAnalysis(data) {
  return request({
    url: '/dispatch/analyze/dispatchWaterQualityAnalysis',
    method: 'put',
    data: data
  })
}

// 删除水质分析报
export function delDispatchWaterQualityAnalysis(waterQualityAnalysisId) {
  return request({
    url: '/dispatch/analyze/dispatchWaterQualityAnalysis/' + waterQualityAnalysisId,
    method: 'delete'
  })
}
